package Test1;

public class Cat extends Animal {
    public Cat() {
    }

    public Cat(String name, int age, String gender) {
        super(name, age, gender);
    }

    public void catchmuose(){
       System.out.println("猫抓老鼠");
   }

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
